package com.rjwh.dingdong.client.mvp.presenter;

import com.aishua.lib.task.AsResult;
import com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayoutDirection;

/**
 * @author Kay
 * @ClassName ICommunityPostMsgPresenter
 * @Description
 * @date 2016-6-30
 * @history 2016-6-30 author: description:
 */
public interface ICommunityPostMsgPresenter {

    /**
     * 获取帖子消息
     *  @param pageNumber 页码
     * @param isRefresh  是否刷新
     * @param direction
     */
    public void doGetTopicNotice(int pageNumber, boolean isRefresh, SwipyRefreshLayoutDirection direction);

    public void onServerDataAcquired(int businessType, AsResult mAsResult, boolean isRefresh);
}
